<style type="text/css">
            .pg-normal {
                color: black;
                font-weight: normal;
                text-decoration: none;
                cursor: pointer;
            }
            .pg-selected {
                color: black;
                font-weight: bold;
                text-decoration: underline;
                cursor: pointer;
            }
        </style>
<div>
<h1>Editer Items</h1>

<?php //echo $html->link('Add Post',array('controller' => 'posts', 'action' => 'add'))?>
<table border='0'  id="myTable" class="tablesorter"><thead>
	<tr>


		<th>Option</th>
		<th>Item</th>
		<th>Definition</th>
	</tr>
         </thead>
         <tbody>


	<?php foreach ($glossaires as $glossaires): ?>
	<tr>




		<td><?php echo $html->link('Editer', "/glossaires/modifier_items_final/".$glossaires['Glossaire']['id']).""; ?></td>
		<td><?php echo $glossaires['Glossaire']['item']; ?></td>
		<td><?php echo $glossaires['Glossaire']['repondre']; ?></td>
		
	</tr>

	<?php endforeach; ?>
</tbody>
</table>
<div id="pageNavPosition"></div>
</div>

<script type="text/javascript">
        var pager = new Pager('myTable',25);
        pager.init();
        pager.showPageNav('pager', 'pageNavPosition');
        pager.showPage(1);
    </script>

<script type="text/javascript">
	$(document).ready(function()
    {
        //$("#myTable").tablesorter( {sortList: [[0,0], [1,0]]} );
    }



);

 </script>